<template>
	<view>
		分类
		<text class="font-big text-danger ">{{text}}</text>
		<van-button type="default">默认按钮</van-button>
		<van-button type="danger">危险按钮</van-button>
		<van-icon name="close" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				text:111
			}
		},
		onLoad() {
			// 组件传值 来源 app。vue
			uni.$on('status',e=>{
				this.text=e
			})
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
